projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e0deb
)
* src/nsselect.m (ns_get_foreign_selection): Fix GCC warning.
author
Po Lu
<luangruo@yahoo.com>
Wed, 2 Feb 2022 07:18:12 +0000
(15:18 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 2 Feb 2022 07:19:52 +0000
(15:19 +0800)
src/nsselect.m
patch
|
blob
|
history
diff --git
a/src/nsselect.m
b/src/nsselect.m
index 13ca9b9c442e20891e100457ab27f0985a5db298..a7ef9df0e0e58723877e169adf4ac84236934802 100644
(file)
--- a/
src/nsselect.m
+++ b/
src/nsselect.m
@@
-250,7
+250,7
@@
ns_get_foreign_selection (Lisp_Object symbol, Lisp_Object target)
NSString *type;
NSEnumerator *e = [[pb types] objectEnumerator];
- while (
type = [e nextObject]
)
+ while (
(type = [e nextObject])
)
{
NSString *val = [typeLookup valueForKey:type];
if (val && ! [types containsObject:val])